import { request } from "@/utils/request"

export const selectPageList = params => {
  return request.get('/category/selectPageList', { params })
}

export const selectList = params => {
  return request.get('/category/selectList', { params })
}

export const selectById = params => {
  return request.get('/category/selectById', { params })
}

export const add = params => {
  return request.post('/category/add', params)
}

export const update = params => {
  return request.post('/category/update', params)
}

export const remove = params => {
  return request.post('/category/remove', params)
}